-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feat]: add cluster template, use CAAPH to install cilium for the CNI #96
Conversation
fb38b88
to
bcee943
Compare
e9078e0
to
a13f15a
Compare
templates/addons/cilium-helm.yaml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have a mechanism to pin the chart version? I gather this is just for KIND right now so I can see that this might not be desirable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated this to set the chart version to the latest stable cilium release (1.15.0)
templates/cluster-template.yaml
Outdated
secret: | ||
name: common-init-files | ||
key: kubeadm-pre-init.sh | ||
permissions: "0777" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the nittiest of nits: do these perms need to be so wide?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated to 0500
cbc4ab9
to
f828004
Compare
f828004
to
28166cd
Compare
28166cd
to
6c207d3
Compare
…#96) * add cluster template with bootstrap scripts, use CAAPH to install cilium * use swapoff instead of trying to set swap disk to 0 to speed up linode booting
This adds CAAPH (https://github.com/kubernetes-sigs/cluster-api-addon-provider-helm) into the KIND management created by Tilt to install Cilium via the helm controller. We are doing this instead of using
postKubeadmCommands
because we need to be able to retry in the case of transient failures with reaching the control plane.Using this template, it is possible to set env vars and use
envstubst
to create a cluster in a one-liner:Result:
closes #3